Remove unnecessary gtk_widget_show calls
authorTimm Bäder <mail@baedert.org>
Sun, 22 Jan 2017 13:37:56 +0000 (14:37 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 22 Jan 2017 13:38:21 +0000 (14:38 +0100)
33 files changed:
gtk/gtkactionbar.c
gtk/gtkcolorbutton.c
gtk/gtkcombobox.c
gtk/gtkentrycompletion.c
gtk/gtkheaderbar.c
gtk/gtklistbox.c
gtk/gtkmenubutton.c
gtk/gtkmenuitem.c
gtk/gtkmenusectionbox.c
gtk/gtkmodelbutton.c
gtk/gtkplacesview.c
gtk/gtkpopover.c
gtk/gtkscrolledwindow.c
gtk/gtkshortcutlabel.c
gtk/gtkshortcutssection.c
gtk/gtkshortcutswindow.c
gtk/gtktoolbar.c
gtk/gtktoolbutton.c
gtk/gtktreemenu.c
gtk/gtktreeviewcolumn.c
gtk/gtkwidget.c
gtk/ui/gtkcoloreditor.ui
gtk/ui/gtkcombobox.ui
gtk/ui/gtkdialog.ui
gtk/ui/gtkfilechooserwidget.ui
gtk/ui/gtklockbutton.ui
gtk/ui/gtkpathbar.ui
gtk/ui/gtkplacesview.ui
gtk/ui/gtkscalebutton.ui
gtk/ui/gtksearchbar.ui
gtk/ui/gtksidebarrow.ui
gtk/ui/gtkstatusbar.ui
gtk/ui/gtkvolumebutton.ui

index e87a0c3c9a815eab43a1500409a613dddcf85490..db76a66acab138f6657147231983922d012bd3af 100644 (file)
@@ -353,11 +353,9 @@ gtk_action_bar_init (GtkActionBar *action_bar)
 
   priv->revealer = gtk_revealer_new ();
   gtk_widget_set_parent (priv->revealer, widget);
-  gtk_widget_show (priv->revealer);
 
   priv->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
   gtk_container_add (GTK_CONTAINER (priv->revealer), priv->box);
-  gtk_widget_show (priv->box);
 
   gtk_revealer_set_reveal_child (GTK_REVEALER (priv->revealer), TRUE);
   gtk_revealer_set_transition_type (GTK_REVEALER (priv->revealer), GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP);
index 8bab7e0dff582df5a43ea083db54d48eeb18bfd8..691ae7ac01ecc6bc1708d84f7c24b155e6295094 100644 (file)
@@ -355,7 +355,6 @@ gtk_color_button_init (GtkColorButton *button)
   gtk_widget_set_size_request (priv->swatch, rect.width, rect.height);
 
   gtk_container_add (GTK_CONTAINER (button), priv->swatch);
-  gtk_widget_show (priv->swatch);
 
   button->priv->title = g_strdup (_("Pick a Color")); /* default title */
 
index 71fbe13a0215a59fc1341ff635c6a8f4f5271d0e..8b67b39b2ae66b1079120c3a1b92e3dc36fd0aac 100644 (file)
@@ -1268,7 +1268,6 @@ gtk_combo_box_create_child (GtkComboBox *combo_box)
       GtkStyleContext *context;
 
       entry = gtk_entry_new ();
-      gtk_widget_show (entry);
       gtk_container_add (GTK_CONTAINER (combo_box), entry);
 
       context = gtk_widget_get_style_context (GTK_WIDGET (entry));
@@ -1287,7 +1286,6 @@ gtk_combo_box_create_child (GtkComboBox *combo_box)
       gtk_container_add (GTK_CONTAINER (gtk_widget_get_parent (priv->arrow)),
                          priv->cell_view);
       _gtk_bin_set_child (GTK_BIN (combo_box), priv->cell_view);
-      gtk_widget_show (priv->cell_view);
     }
 }
 
index ed6837dc83bb85e4c0888c1f3d3f32ca71922506..b5404d52b78eaa76d0d52bac37bd13c5ebf8e812 100644 (file)
@@ -623,7 +623,6 @@ gtk_entry_completion_constructed (GObject *object)
   popup_frame = gtk_frame_new (NULL);
   gtk_frame_set_shadow_type (GTK_FRAME (popup_frame),
                              GTK_SHADOW_ETCHED_IN);
-  gtk_widget_show (popup_frame);
   gtk_container_add (GTK_CONTAINER (priv->popup_window), popup_frame);
 
   priv->vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
index 83d890f4ddcad4b423708908a0d097a35cadb3a7..3ca1894565c2ea7ee2b227028b877063afd8c674 100644 (file)
@@ -135,11 +135,9 @@ init_sizing_box (GtkHeaderBar *bar)
    * in case we have only the title.
    */
   w = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-  gtk_widget_show (w);
   priv->label_sizing_box = g_object_ref_sink (w);
 
   w = gtk_label_new (NULL);
-  gtk_widget_show (w);
   context = gtk_widget_get_style_context (w);
   gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLE);
   gtk_box_pack_start (GTK_BOX (priv->label_sizing_box), w, FALSE, FALSE);
@@ -172,7 +170,6 @@ create_title_box (const char *title,
 
   label_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
   gtk_widget_set_valign (label_box, GTK_ALIGN_CENTER);
-  gtk_widget_show (label_box);
 
   title_label = gtk_label_new (title);
   context = gtk_widget_get_style_context (title_label);
@@ -181,7 +178,6 @@ create_title_box (const char *title,
   gtk_label_set_single_line_mode (GTK_LABEL (title_label), TRUE);
   gtk_label_set_ellipsize (GTK_LABEL (title_label), PANGO_ELLIPSIZE_END);
   gtk_box_pack_start (GTK_BOX (label_box), title_label, FALSE, FALSE);
-  gtk_widget_show (title_label);
   gtk_label_set_width_chars (GTK_LABEL (title_label), MIN_TITLE_CHARS);
 
   subtitle_label = gtk_label_new (subtitle);
@@ -357,7 +353,6 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
                   priv->titlebar_icon = button;
                   gtk_style_context_add_class (gtk_widget_get_style_context (button), "titlebutton");
                   gtk_widget_set_size_request (button, 20, 20);
-                  gtk_widget_show (button);
                   if (!_gtk_header_bar_update_window_icon (bar, window))
                     {
                       gtk_widget_destroy (button);
@@ -479,7 +474,6 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
                                           NULL);
             }
 
-          gtk_widget_show (box);
           gtk_widget_set_parent (box, GTK_WIDGET (bar));
 
           if (i == 0)
index 05832b0d2b1547bb3ffffcd229cd8ca6564a1e3b..ce7accb34ed7f1d652602edd73c792e9457cac23 100644 (file)
@@ -2899,7 +2899,6 @@ gtk_list_box_insert (GtkListBox *box,
   else
     {
       row = GTK_LIST_BOX_ROW (gtk_list_box_row_new ());
-      gtk_widget_show (GTK_WIDGET (row));
       gtk_container_add (GTK_CONTAINER (row), child);
     }
 
index ddb17895d19a2c8868a9407f32a86391fb8ed3f1..43e18a396ebea2e2a934aebb3b69daf56060e5e5 100644 (file)
@@ -604,7 +604,6 @@ add_arrow (GtkMenuButton *menu_button)
   arrow = gtk_image_new ();
   set_arrow_type (GTK_IMAGE (arrow), menu_button->priv->arrow_type);
   gtk_container_add (GTK_CONTAINER (menu_button), arrow);
-  gtk_widget_show (arrow);
   menu_button->priv->arrow_widget = arrow;
 }
 
index d2ae63a799c9d31825158f760f06cfda7b85223c..16a6e16b71b2c939de94a03e21abe04b3ea4e647 100644 (file)
@@ -1963,7 +1963,6 @@ gtk_menu_item_ensure_label (GtkMenuItem *menu_item)
       gtk_container_add (GTK_CONTAINER (menu_item), accel_label);
       gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (accel_label),
                                         GTK_WIDGET (menu_item));
-      gtk_widget_show (accel_label);
     }
 }
 
index b5608e94c3414f5582ba933b2ebcb758721ce74d..4d863673d78a404d88af05107003c3fdb98d499d 100644 (file)
@@ -323,8 +323,6 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
       g_signal_connect (widget, "clicked", G_CALLBACK (gtk_popover_item_activate), item);
     }
 
-  gtk_widget_show (widget);
-
   g_object_set_data_full (G_OBJECT (widget), "GtkMenuTrackerItem", g_object_ref (item), g_object_unref);
 
   gtk_widget_set_halign (widget, GTK_ALIGN_FILL);
@@ -350,7 +348,6 @@ gtk_menu_section_box_init (GtkMenuSectionBox *box)
   box->item_box = GTK_BOX (item_box);
   gtk_box_pack_end (GTK_BOX (box), item_box, FALSE, FALSE);
   gtk_widget_set_halign (GTK_WIDGET (item_box), GTK_ALIGN_FILL);
-  gtk_widget_show (item_box);
 
   gtk_widget_set_halign (GTK_WIDGET (box), GTK_ALIGN_FILL);
   g_object_set (box, "margin", 0, NULL);
@@ -432,9 +429,6 @@ gtk_menu_section_box_new_toplevel (GtkStack    *stack,
                                        gtk_menu_section_box_remove_func, box);
 
   g_signal_connect (G_OBJECT (popover), "notify::position", G_CALLBACK (update_popover_position_cb), box);
-
-
-  gtk_widget_show (GTK_WIDGET (box));
 }
 
 static void
@@ -461,14 +455,12 @@ gtk_menu_section_box_new_submenu (GtkMenuTrackerItem *item,
   g_object_set_data (G_OBJECT (focus), "focus", button);
 
   gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE);
-  gtk_widget_show (button);
 
   g_signal_connect (focus, "clicked", G_CALLBACK (open_submenu), item);
   g_signal_connect (button, "clicked", G_CALLBACK (close_submenu), item);
 
   gtk_stack_add_named (GTK_STACK (gtk_widget_get_ancestor (GTK_WIDGET (toplevel), GTK_TYPE_STACK)),
                        GTK_WIDGET (box), gtk_menu_tracker_item_get_label (item));
-  gtk_widget_show (GTK_WIDGET (box));
 
   box->tracker = gtk_menu_tracker_new_for_item_link (item, G_MENU_LINK_SUBMENU, FALSE, FALSE,
                                                      gtk_menu_section_box_insert_func,
@@ -538,8 +530,6 @@ gtk_menu_section_box_new_section (GtkMenuTrackerItem *item,
     {
       box->separator = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
       g_object_ref_sink (box->separator);
-
-      gtk_widget_show (box->separator);
     }
 
   box->tracker = gtk_menu_tracker_new_for_item_link (item, G_MENU_LINK_SECTION, FALSE, FALSE,
index 8109079f474e0f108199da96107f24e945685c6a..baa568af736f0d75f0fae5810dd41f44e4010e1c 100644 (file)
@@ -1141,7 +1141,6 @@ gtk_model_button_init (GtkModelButton *button)
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
   button->box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
   gtk_widget_set_halign (button->box, GTK_ALIGN_FILL);
-  gtk_widget_show (button->box);
   button->image = gtk_image_new ();
   gtk_widget_hide (button->image);
   button->label = gtk_label_new ("");
index fe2aade66abf7d889e806aef6d3f8de1dfbbb1ec..8edeab0d1b5daa1c0d2f55a97a09142979ada106 100644 (file)
@@ -1642,7 +1642,6 @@ build_popup_menu (GtkPlacesView    *view,
                     "activate",
                     G_CALLBACK (open_cb),
                     row);
-  gtk_widget_show (item);
   gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
 
   if (priv->open_flags & GTK_PLACES_OPEN_NEW_TAB)
@@ -1652,7 +1651,6 @@ build_popup_menu (GtkPlacesView    *view,
                         "activate",
                         G_CALLBACK (open_in_new_tab_cb),
                         row);
-      gtk_widget_show (item);
       gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
     }
 
@@ -1663,7 +1661,6 @@ build_popup_menu (GtkPlacesView    *view,
                         "activate",
                         G_CALLBACK (open_in_new_window_cb),
                         row);
-      gtk_widget_show (item);
       gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
     }
 
@@ -1676,7 +1673,6 @@ build_popup_menu (GtkPlacesView    *view,
 
   /* Separator */
   item = gtk_separator_menu_item_new ();
-  gtk_widget_show (item);
   gtk_menu_shell_insert (GTK_MENU_SHELL (priv->popup_menu), item, -1);
 
   /* Mount/Unmount items */
@@ -1687,7 +1683,6 @@ build_popup_menu (GtkPlacesView    *view,
                         "activate",
                         G_CALLBACK (unmount_cb),
                         row);
-      gtk_widget_show (item);
       gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
     }
   else
@@ -1697,7 +1692,6 @@ build_popup_menu (GtkPlacesView    *view,
                         "activate",
                         G_CALLBACK (mount_cb),
                         row);
-      gtk_widget_show (item);
       gtk_menu_shell_append (GTK_MENU_SHELL (priv->popup_menu), item);
     }
 }
index 4a6c753c96fb5a072471c6645dc99d9e25a94b9a..7277aca0b3c8e016a8e325d0075c9319b13dcd0d 100644 (file)
@@ -2316,7 +2316,6 @@ gtk_popover_bind_model (GtkPopover  *popover,
       gtk_stack_set_vhomogeneous (GTK_STACK (stack), FALSE);
       gtk_stack_set_transition_type (GTK_STACK (stack), GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT);
       gtk_stack_set_interpolate_size (GTK_STACK (stack), TRUE);
-      gtk_widget_show (stack);
       gtk_container_add (GTK_CONTAINER (popover), stack);
 
       gtk_menu_section_box_new_toplevel (GTK_STACK (stack),
index b4e5c8c9560d5daa116dd084673a750566b3227d..bc23a13f78edfd12e499a35b315285abd57ced3e 100644 (file)
@@ -2144,7 +2144,6 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window,
 
       gtk_widget_set_parent (priv->hscrollbar, GTK_WIDGET (scrolled_window));
       g_object_ref (priv->hscrollbar);
-      gtk_widget_show (priv->hscrollbar);
       update_scrollbar_positions (scrolled_window);
     }
   else
@@ -2212,7 +2211,6 @@ gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window,
 
       gtk_widget_set_parent (priv->vscrollbar, GTK_WIDGET (scrolled_window));
       g_object_ref (priv->vscrollbar);
-      gtk_widget_show (priv->vscrollbar);
       update_scrollbar_positions (scrolled_window);
     }
   else
@@ -3805,7 +3803,6 @@ gtk_scrolled_window_add (GtkContainer *container,
   else
     {
       scrollable_child = gtk_viewport_new (hadj, vadj);
-      gtk_widget_show (scrollable_child);
       gtk_container_set_focus_hadjustment (GTK_CONTAINER (scrollable_child),
                                            gtk_scrolled_window_get_hadjustment (GTK_SCROLLED_WINDOW (scrolled_window)));
       gtk_container_set_focus_vadjustment (GTK_CONTAINER (scrollable_child),
index bfacbd391ea468599c1153a2ce955b6201ea6926..b7003dd94dbbf04eb048d19702207bffdcbc885d 100644 (file)
@@ -257,7 +257,6 @@ dim_label (const gchar *text)
   GtkWidget *label;
 
   label = gtk_label_new (text);
-  gtk_widget_show (label);
   gtk_style_context_add_class (gtk_widget_get_style_context (label), "dim-label");
 
   return label;
@@ -287,7 +286,6 @@ display_shortcut (GtkContainer    *self,
       gtk_style_context_add_class (gtk_widget_get_style_context (disp), "keycap");
       gtk_label_set_use_markup (GTK_LABEL (disp), TRUE);
 
-      gtk_widget_show (disp);
       gtk_container_add (self, disp);
     }
   g_strfreev (keys);
@@ -380,7 +378,6 @@ gtk_shortcut_label_rebuild (GtkShortcutLabel *self)
       GtkWidget *label;
 
       label = dim_label (self->disabled_text);
-      gtk_widget_show (label);
 
       gtk_container_add (GTK_CONTAINER (self), label);
       return;
index b8bef99ca1dad51e5e74fe53b016c5c93f041452..ac2abc15f0d9d33cc2e5ff528be13fd523685be1 100644 (file)
@@ -648,7 +648,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
           GtkSizeGroup *size_group;
 
           column_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 22);
-          gtk_widget_show (column_box);
 
           size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
           g_object_set_data_full (G_OBJECT (column_box), "accel-size-group", size_group, g_object_unref);
@@ -660,7 +659,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
               GtkWidget *page;
 
               page = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 22);
-              gtk_widget_show (page);
 
               pages = g_list_append (pages, page);
               current_page = page;
@@ -694,7 +692,6 @@ gtk_shortcuts_section_reflow_groups (GtkShortcutsSection *self)
       guint n;
 
       column_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 22);
-      gtk_widget_show (column_box);
 
       size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
       g_object_set_data_full (G_OBJECT (column_box), "accel-size-group", size_group, g_object_unref);
index 952b01d9a021d6fe4b0a2859e360ec0d919ffad9..6ef901f75b481e634bc968f712ab942cf9e4d6b3 100644 (file)
@@ -917,12 +917,10 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   gtk_header_bar_set_custom_title (priv->header_bar, GTK_WIDGET (priv->title_stack));
 
   label = gtk_label_new (_("Shortcuts"));
-  gtk_widget_show (label);
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "title");
 
   label = gtk_label_new (_("Search Results"));
-  gtk_widget_show (label);
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "search");
 
@@ -945,7 +943,6 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
 
   arrow = gtk_image_new_from_icon_name ("pan-down-symbolic",
                                         GTK_ICON_SIZE_BUTTON);
-  gtk_widget_show (arrow);
   gtk_container_add (GTK_CONTAINER (menu_box), GTK_WIDGET (arrow));
 
   priv->popover = g_object_new (GTK_TYPE_POPOVER,
@@ -965,7 +962,6 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   gtk_container_add (GTK_CONTAINER (priv->popover), GTK_WIDGET (priv->list_box));
 
   priv->search_entry = GTK_SEARCH_ENTRY (gtk_search_entry_new ());
-  gtk_widget_show (GTK_WIDGET (priv->search_entry));
   gtk_container_add (GTK_CONTAINER (priv->search_bar), GTK_WIDGET (priv->search_entry));
   g_object_set (priv->search_entry,
                 "placeholder-text", _("Search Shortcuts"),
index 8e8d9e0c0da744b7144aa8237b2922db46d8ca77..2eb4e08fda1cfc6235d9707817cd375f0c04f11d 100644 (file)
@@ -663,7 +663,6 @@ gtk_toolbar_init (GtkToolbar *toolbar)
 
   priv->arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
   gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow");
-  gtk_widget_show (priv->arrow);
   gtk_container_add (GTK_CONTAINER (priv->arrow_button), priv->arrow);
   
   gtk_widget_set_parent (priv->arrow_button, widget);
@@ -2242,7 +2241,6 @@ gtk_toolbar_set_drop_highlight_item (GtkToolbar  *toolbar,
       content = toolbar_content_new_tool_item (toolbar,
                                               GTK_TOOL_ITEM (placeholder),
                                               TRUE, index_);
-      gtk_widget_show (placeholder);
     }
   
   g_assert (content);
index 594d6af911f3eefd3b9e8b6a0ce4e571c0b9890f..c8f8e4366f22d17c922d9b2fa37157a094ac226d 100644 (file)
@@ -299,7 +299,6 @@ gtk_tool_button_init (GtkToolButton      *button,
                           G_CALLBACK (button_clicked), button, 0);
 
   gtk_container_add (GTK_CONTAINER (button), button->priv->button);
-  gtk_widget_show (button->priv->button);
 }
 
 static void
@@ -412,8 +411,6 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
          label = gtk_label_new (label_text);
 
          g_free (label_text);
-         
-         gtk_widget_show (label);
        }
 
       if (GTK_IS_LABEL (label))
@@ -471,7 +468,6 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
       else if (button->priv->icon_name)
        {
          icon = gtk_image_new_from_icon_name (button->priv->icon_name, icon_size);
-         gtk_widget_show (icon);
        }
 
       if (icon)
index c4ccfb8ad2e7d15fd0d3c379267b93dbbc41fed1..afc90bdf4c8b1d15d1be7c399de712a345a3e050 100644 (file)
@@ -1220,7 +1220,6 @@ gtk_tree_menu_create_item (GtkTreeMenu *menu,
   if (is_separator)
     {
       item = gtk_separator_menu_item_new ();
-      gtk_widget_show (item);
 
       g_object_set_qdata_full (G_OBJECT (item),
                                tree_menu_path_quark,
@@ -1231,13 +1230,10 @@ gtk_tree_menu_create_item (GtkTreeMenu *menu,
     {
       view = gtk_cell_view_new_with_context (priv->area, priv->context);
       item = gtk_menu_item_new ();
-      gtk_widget_show (view);
-      gtk_widget_show (item);
 
       gtk_cell_view_set_model (GTK_CELL_VIEW (view), priv->model);
       gtk_cell_view_set_displayed_row (GTK_CELL_VIEW (view), path);
 
-      gtk_widget_show (view);
       gtk_container_add (GTK_CONTAINER (item), view);
 
       g_signal_connect (item, "activate", G_CALLBACK (item_activated_cb), menu);
index 9b72d2d65399423f28b597103b558cb46d57cfc5..9052ed3704db8ee32590ffe8547279c44b603da3 100644 (file)
@@ -820,7 +820,6 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
   priv->button = gtk_button_new ();
   g_object_ref_sink (priv->button);
 
-  gtk_widget_show (priv->button);
   gtk_widget_add_events (priv->button, GDK_POINTER_MOTION_MASK);
 
   g_signal_connect (priv->button, "event",
@@ -842,7 +841,6 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
   else
     {
       child = gtk_label_new (priv->title);
-      gtk_widget_show (child);
     }
 
   g_signal_connect (child, "mnemonic-activate",
@@ -862,9 +860,6 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
 
   gtk_container_add (GTK_CONTAINER (priv->frame), child);
   gtk_container_add (GTK_CONTAINER (priv->button), hbox);
-
-  gtk_widget_show (hbox);
-  gtk_widget_show (priv->frame);
 }
 
 static void 
index eb234bc17e0b9e4b6d1e9786467a7769899f6c03..e6c44af52d41345d1deeab437174b3c691157ffe 100644 (file)
@@ -4226,6 +4226,10 @@ gtk_widget_show (GtkWidget *widget)
       gtk_widget_pop_verify_invariants (widget);
       g_object_unref (widget);
     }
+  else
+    {
+      g_warning ("%s is already visible", gtk_widget_get_name (widget));
+    }
 }
 
 static void
index fbef1e7cbb4a13bf1e211ed709a4097b2af931ce..aa2f03a871aa6af24434beae02ddc4907f21327f 100644 (file)
     <signal name="notify::visible" handler="dismiss_current_popup" swapped="no"/>
     <child>
       <object class="GtkOverlay" id="overlay">
-        <property name="visible">1</property>
         <signal name="get-child-position" handler="get_child_position" swapped="no"/>
         <child>
           <object class="GtkGrid" id="grid">
-            <property name="visible">1</property>
             <property name="margin-start">30</property>
             <property name="margin-end">30</property>
             <property name="row-spacing">12</property>
             <property name="column-spacing">12</property>
             <child>
               <object class="GtkColorSwatch" id="swatch">
-                <property name="visible">True</property>
                 <property name="name">editor-color-sample</property>
                 <property name="can-focus">False</property>
                 <property name="rgba">rgb(255,255,255)</property>
@@ -56,7 +53,6 @@
             </child>
             <child>
               <object class="GtkEntry" id="entry">
-                <property name="visible">1</property>
                 <property name="can-focus">1</property>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="entry-atkobject">
@@ -74,7 +70,6 @@
             </child>
             <child>
               <object class="GtkColorScale" id="h_slider">
-                <property name="visible">True</property>
                 <property name="can-focus">True</property>
                 <property name="orientation">vertical</property>
                 <property name="adjustment">h_adj</property>
@@ -89,7 +84,6 @@
             </child>
             <child>
               <object class="GtkColorScale" id="a_slider">
-                <property name="visible">True</property>
                 <property name="can-focus">True</property>
                 <property name="adjustment">a_adj</property>
                 <property name="draw-value">False</property>
               <object class="GtkColorPlane" id="sv_plane">
                 <property name="width-request">300</property>
                 <property name="height-request">300</property>
-                <property name="visible">True</property>
                 <property name="can-focus">True</property>
                 <property name="h-adjustment">h_adj</property>
                 <property name="s-adjustment">s_adj</property>
     </style>
     <child>
       <object class="GtkGrid" id="grid4">
-        <property name="visible">1</property>
         <property name="margin-start">12</property>
         <property name="margin-end">12</property>
         <property name="margin-top">12</property>
         <property name="column-spacing">6</property>
         <child>
           <object class="GtkLabel" id="label4">
-            <property name="visible">1</property>
             <property name="label" translatable="yes" context="Color channel">A</property>
           </object>
           <packing>
         </child>
         <child>
           <object class="GtkSpinButton" id="a_entry">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="width-chars">2</property>
             <property name="max-width-chars">2</property>
     </style>
     <child>
       <object class="GtkGrid" id="grid3">
-        <property name="visible">1</property>
         <property name="margin-start">12</property>
         <property name="margin-end">12</property>
         <property name="margin-top">12</property>
         <property name="column-spacing">6</property>
         <child>
           <object class="GtkLabel" id="label3">
-            <property name="visible">1</property>
             <property name="label" translatable="yes" context="Color channel">H</property>
           </object>
           <packing>
         </child>
         <child>
           <object class="GtkSpinButton" id="h_entry">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="width-chars">2</property>
             <property name="max-width-chars">2</property>
     </style>
     <child>
       <object class="GtkGrid" id="grid2">
-        <property name="visible">1</property>
         <property name="margin-start">12</property>
         <property name="margin-end">12</property>
         <property name="margin-top">12</property>
         <property name="column-spacing">6</property>
         <child>
           <object class="GtkLabel" id="label1">
-            <property name="visible">1</property>
             <property name="label" translatable="yes" context="Color Channel">S</property>
           </object>
           <packing>
         </child>
         <child>
           <object class="GtkLabel" id="label2">
-            <property name="visible">1</property>
             <property name="label" translatable="yes" context="Color Channel">V</property>
           </object>
           <packing>
         </child>
         <child>
           <object class="GtkSpinButton" id="s_entry">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="width-chars">2</property>
             <property name="max-width-chars">2</property>
         </child>
         <child>
           <object class="GtkSpinButton" id="v_entry">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="width-chars">2</property>
             <property name="max-width-chars">2</property>
index 0a8ac8ba987a27a07d4cc7d5cdaa60a3ba9ad507..a3126c8de6ee7db39b6e636dd1646fadcd4198e6 100644 (file)
@@ -4,20 +4,16 @@
   <template class="GtkComboBox" parent="GtkBin">
     <child>
       <object class="GtkBox" id="box">
-        <property name="visible">1</property>
         <style>
           <class name="linked"/>
         </style>
         <child>
           <object class="GtkToggleButton" id="button">
-            <property name="visible">1</property>
             <signal name="toggled" handler="gtk_combo_box_button_toggled" swapped="no"/>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
                 <child>
                   <object class="GtkIcon" id="arrow">
-                    <property name="visible">1</property>
                     <property name="css-name">arrow</property>
                   </object>
                   <packing>
index 214cbd4597fcc040a7de1b332842a8ee436598d2..65d0e5ed8c38e6154d62d225e2fa32623787603d 100644 (file)
@@ -7,26 +7,22 @@
     <signal name="delete-event" handler="gtk_dialog_delete_event_handler" swapped="no"/>
     <child type="titlebar">
       <object class="GtkHeaderBar" id="headerbar">
-        <property name="visible">1</property>
         <property name="show-close-button">1</property>
       </object>
     </child>
     <child>
       <object class="GtkBox" id="vbox">
-        <property name="visible">1</property>
         <property name="orientation">vertical</property>
         <style>
           <class name="dialog-vbox"/>
         </style>
         <child>
           <object class="GtkBox" id="action_box">
-            <property name="visible">1</property>
             <style>
               <class name="dialog-action-box"/>
             </style>
             <child>
               <object class="GtkButtonBox" id="action_area">
-                <property name="visible">1</property>
                 <property name="layout-style">end</property>
                 <property name="hexpand">1</property>
                 <style>
index 3af6fed58d6fae75ef1b00b0fe563e5d6c9b81f1..5f57f1cd53193c0c81b7231f8ffa92fa2b9c1fae 100644 (file)
@@ -49,7 +49,6 @@
                                 <property name="margin">6</property>
                                 <child>
                                   <object class="GtkPathBar" id="browse_path_bar">
-                                    <property name="visible">True</property>
                                     <signal name="path-clicked" handler="path_bar_clicked" after="yes" swapped="no"/>
                                   </object>
                                   <packing>
                         </child>
                         <child>
                           <object class="GtkPlacesView" id="places_view">
-                            <property name="visible">True</property>
                             <property name="local-only" bind-source="GtkFileChooserWidget" bind-property="local-only" bind-flags="default|sync-create"/>
                             <signal name="open-location" handler="places_sidebar_open_location_cb" swapped="no"/>
                             <signal name="show-error-message" handler="places_sidebar_show_error_message_cb" swapped="no"/>
index ea63b86832875f9e5616a8442e3f9c4535cf45d0..324c44569e89bab0607cad8caedd70a4ca94319e 100644 (file)
@@ -2,18 +2,15 @@
 <interface domain="gtk30">
   <!-- interface-requires gtk+ 3.6 -->
   <template class="GtkLockButton" parent="GtkButton">
-    <property name="visible">1</property>
     <property name="can-focus">1</property>
     <property name="receives-default">1</property>
     <child>
       <object class="GtkBox" id="box">
-        <property name="visible">1</property>
         <property name="halign">center</property>
         <property name="valign">center</property>
         <property name="spacing">6</property>
         <child>
           <object class="GtkImage" id="image">
-            <property name="visible">1</property>
             <property name="icon-name">image-missing</property>
           </object>
           <packing>
@@ -22,7 +19,6 @@
         </child>
         <child>
           <object class="GtkStack" id="stack">
-            <property name="visible">1</property>
             <child>
               <object class="GtkLabel" id="label_lock">
                 <property name="visible">1</property>
@@ -32,7 +28,6 @@
             </child>
             <child>
               <object class="GtkLabel" id="label_unlock">
-                <property name="visible">1</property>
                 <property name="xalign">0</property>
                 <property name="label" translatable="yes">Unlock</property>
               </object>
index b9fefc72fe7e2a050e7c580e21e6bbdba2f92b4b..63b61f297fe98b811b878658f482b70012246f6f 100644 (file)
@@ -2,7 +2,6 @@
 <interface domain="gtk30">
   <!-- interface-requires gtk+ 3.10 -->
   <object class="GtkButton" id="down_slider_button">
-    <property name="visible">1</property>
     <property name="can-focus">1</property>
     <property name="receives-default">1</property>
     <property name="focus-on-click">0</property>
@@ -17,7 +16,6 @@
     <signal name="unmap" handler="on_slider_unmap" swapped="no"/>
     <child>
       <object class="GtkImage">
-        <property name="visible">1</property>
         <property name="icon-name">pan-end-symbolic</property>
         <property name="icon-size">1</property>
       </object>
@@ -27,7 +25,6 @@
     </style>
   </object>
   <object class="GtkButton" id="up_slider_button">
-    <property name="visible">1</property>
     <property name="can-focus">1</property>
     <property name="receives-default">1</property>
     <property name="focus-on-click">0</property>
@@ -42,7 +39,6 @@
     <signal name="unmap" handler="on_slider_unmap" swapped="no"/>
     <child>
       <object class="GtkImage">
-        <property name="visible">1</property>
         <property name="icon-name">pan-start-symbolic</property>
         <property name="icon-size">1</property>
       </object>
index 7799469e61d5a466f22f6fbddc6409ed69fdc746..2c7b4e48146f07181b26b18d1d0d2b4042b43e1b 100644 (file)
     <property name="relative-to">address_entry</property>
     <child>
       <object class="GtkBox">
-        <property name="visible">1</property>
         <property name="orientation">vertical</property>
         <property name="spacing">6</property>
         <property name="margin">18</property>
         <child>
           <object class="GtkLabel">
-            <property name="visible">1</property>
             <property name="hexpand">1</property>
             <property name="label" translatable="yes">Server Addresses</property>
             <attributes>
@@ -38,7 +36,6 @@
         </child>
         <child>
           <object class="GtkLabel">
-            <property name="visible">1</property>
             <property name="hexpand">1</property>
             <property name="label" translatable="yes">Server addresses are made up of a protocol prefix and an address. Examples:</property>
             <property name="wrap">1</property>
@@ -52,7 +49,6 @@
         </child>
         <child>
           <object class="GtkLabel">
-            <property name="visible">1</property>
             <property name="hexpand">1</property>
             <property name="label" translatable="yes">smb://foo.example.com, ssh://192.168.0.1, ftp://[2001:db8::1]</property>
             <property name="wrap">1</property>
         </child>
         <child>
           <object class="GtkGrid">
-            <property name="visible">1</property>
             <property name="margin-top">12</property>
             <property name="hexpand">1</property>
             <property name="row-spacing">6</property>
             <property name="column-spacing">12</property>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="hexpand">1</property>
                 <property name="label" translatable="yes">Available Protocols</property>
                 <property name="xalign">0</property>
@@ -88,7 +82,6 @@
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">AppleTalk</property>
                 <property name="xalign">0</property>
               </object>
@@ -99,7 +92,6 @@
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">File Transfer Protocol</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">Network File System</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">Samba</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">SSH File Transfer Protocol</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">WebDAV</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">Prefix</property>
                 <property name="xalign">0</property>
                 <attributes>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label">afp://</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes" comments="Translators: do not translate ftp:// and ftps://">ftp:// or ftps://</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label">nfs://</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">smb://</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes" comments="Translators: do not translate sftp:// and ssh://">sftp:// or ssh://</property>
                 <property name="xalign">0</property>
               </object>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes" comments="Translators: do not translate dav:// and davs://">dav:// or davs://</property>
                 <property name="xalign">0</property>
               </object>
   <object class="GtkPopover" id="recent_servers_popover">
     <child>
       <object class="GtkStack" id="recent_servers_stack">
-        <property name="visible">1</property>
         <child>
           <object class="GtkBox">
-            <property name="visible">1</property>
             <property name="vexpand">1</property>
             <property name="valign">center</property>
             <property name="orientation">vertical</property>
             <property name="spacing">18</property>
             <child>
               <object class="GtkImage">
-                <property name="visible">1</property>
                 <property name="pixel-size">48</property>
                 <property name="icon-name">network-server-symbolic</property>
                 <style>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes" comments="Translators: Server as any successfully connected network address">No recent servers found</property>
                 <style>
                   <class name="dim-label"/>
         </child>
         <child>
           <object class="GtkBox">
-            <property name="visible">1</property>
             <property name="orientation">vertical</property>
             <property name="spacing">12</property>
             <property name="margin">12</property>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">Recent Servers</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
             </child>
             <child>
               <object class="GtkScrolledWindow">
-                <property name="visible">1</property>
                 <property name="can-focus">1</property>
                 <property name="vexpand">1</property>
                 <property name="shadow-type">in</property>
                 <property name="min-content-height">200</property>
                 <child>
                   <object class="GtkViewport">
-                    <property name="visible">1</property>
                     <property name="shadow-type">none</property>
                     <child>
                       <object class="GtkListBox" id="recent_servers_listbox">
-                        <property name="visible">1</property>
                         <property name="can-focus">1</property>
                         <property name="selection-mode">none</property>
                         <signal name="row-activated" handler="on_recent_servers_listbox_row_activated" object="GtkPlacesView" swapped="yes"/>
     </child>
   </object>
   <template class="GtkPlacesView" parent="GtkBox">
-    <property name="visible">True</property>
     <property name="can-focus">False</property>
     <property name="orientation">vertical</property>
     <signal name="key-press-event" handler="on_key_press_event" object="GtkPlacesView" swapped="no"/>
     <child>
       <object class="GtkStack" id="stack">
-        <property name="visible">1</property>
         <property name="vhomogeneous">0</property>
         <property name="transition-type">crossfade</property>
         <child>
           <object class="GtkFrame">
-            <property name="visible">1</property>
             <property name="shadow-type">none</property>
             <child>
               <object class="GtkScrolledWindow">
-                <property name="visible">1</property>
                 <property name="hexpand">1</property>
                 <property name="vexpand">1</property>
                 <child>
                   <object class="GtkViewport">
-                    <property name="visible">1</property>
                     <property name="shadow-type">none</property>
                     <child>
                       <object class="GtkListBox" id="listbox">
-                        <property name="visible">1</property>
                         <property name="can-focus">1</property>
                         <property name="selection-mode">none</property>
                         <signal name="row-activated" handler="on_listbox_row_activated" object="GtkPlacesView" swapped="yes"/>
         </child>
         <child>
           <object class="GtkBox">
-            <property name="visible">1</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
             <property name="hexpand">1</property>
             <property name="spacing">12</property>
             <child>
               <object class="GtkImage">
-                <property name="visible">1</property>
                 <property name="pixel-size">72</property>
                 <property name="icon-name">edit-find-symbolic</property>
                 <style>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">No results found</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
             </child>
             <child>
               <object class="GtkLabel">
-                <property name="visible">1</property>
                 <property name="label" translatable="yes">Try a different search</property>
                 <style>
                   <class name="dim-label"/>
     </child>
     <child>
       <object class="GtkActionBar" id="actionbar">
-        <property name="visible">1</property>
         <property name="hexpand">1</property>
         <style>
           <class name="background"/>
         </style>
         <child>
           <object class="GtkLabel">
-            <property name="visible">1</property>
             <property name="hexpand">1</property>
             <property name="xalign">0</property>
             <property name="label" translatable="yes">Connect to _Server</property>
           <object class="GtkButton" id="connect_button">
             <property name="label" translatable="yes">Con_nect</property>
             <property name="use-underline">1</property>
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="sensitive">0</property>
             <property name="receives-default">1</property>
         </child>
         <child>
           <object class="GtkBox">
-            <property name="visible">1</property>
             <property name="hexpand">1</property>
             <child>
               <object class="GtkEntry" id="address_entry">
-                <property name="visible">1</property>
                 <property name="can-focus">1</property>
                 <property name="hexpand">1</property>
                 <property name="width-chars">20</property>
             </child>
             <child>
               <object class="GtkMenuButton" id="server_list_button">
-                <property name="visible">1</property>
                 <property name="can-focus">1</property>
                 <property name="receives-default">1</property>
                 <property name="direction">up</property>
                 </style>
                 <child>
                   <object class="GtkImage">
-                    <property name="visible">1</property>
                     <property name="icon-name">pan-down-symbolic</property>
                   </object>
                 </child>
index b86e9e59731f5bdf25e7f5313942ad1efe8a26ce..fcf97ed1b75adcf035201d2737cfeaea4c861373 100644 (file)
@@ -9,7 +9,6 @@
     <property name="focus-on-click">0</property>
     <child>
       <object class="GtkImage" id="image">
-        <property name="visible">1</property>
         <property name="icon-name">image-missing</property>
         <property name="use-fallback">1</property>
       </object>
     </style>
     <child>
       <object class="GtkBox" id="box">
-        <property name="visible">1</property>
         <property name="orientation">vertical</property>
         <property name="margin">4</property>
         <property name="spacing">4</property>
         <child>
           <object class="GtkButton" id="plus_button">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="receives-default">1</property>
             <property name="relief">none</property>
@@ -46,7 +43,6 @@
         <child>
           <object class="GtkScale" id="scale">
             <property name="height-request">100</property>
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="orientation">vertical</property>
             <property name="inverted">1</property>
@@ -60,7 +56,6 @@
         </child>
         <child>
           <object class="GtkButton" id="minus_button">
-            <property name="visible">1</property>
             <property name="can-focus">1</property>
             <property name="receives-default">1</property>
             <property name="relief">none</property>
index 05dde48fd8a787e594efa8e7185c79fadab4f991..7624ae2d73f328bd491f0eb4842360457374bf00 100644 (file)
@@ -4,16 +4,13 @@
   <template class="GtkSearchBar" parent="GtkBin">
     <child>
       <object class="GtkRevealer" id="revealer">
-        <property name="visible">1</property>
         <property name="hexpand">1</property>
         <child>
           <object class="GtkBox" id="tool_box">
-            <property name="visible">1</property>
             <property name="spacing">6</property>
             <property name="margin">6</property>
             <child>
               <object class="GtkBox" id="box_left">
-                <property name="visible">1</property>
                 <property name="halign">start</property>
                 <property name="hexpand">1</property>
                 <property name="orientation">vertical</property>
@@ -24,7 +21,6 @@
             </child>
             <child>
               <object class="GtkBox" id="box_center">
-                <property name="visible">1</property>
                 <property name="halign">center</property>
                 <property name="orientation">vertical</property>
               </object>
@@ -34,7 +30,6 @@
             </child>
             <child>
               <object class="GtkBox" id="box_right">
-                <property name="visible">1</property>
                 <property name="halign">end</property>
                 <property name="hexpand">1</property>
                 <property name="orientation">vertical</property>
@@ -49,7 +44,6 @@
                     </style>
                     <child>
                       <object class="GtkImage" id="close_image">
-                        <property name="visible">1</property>
                         <property name="icon-size">1</property>
                         <property name="icon-name">window-close-symbolic</property>
                       </object>
index 66b23ba920fc138298e94a475bcd070bb3dafdf6..39bff560468c2021f754133800add55a88cecd68 100644 (file)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface domain="gtk30">
   <template class="GtkSidebarRow" parent="GtkListBoxRow">
-    <property name="visible">True</property>
     <property name="margin-top">1</property>
     <property name="margin-bottom">1</property>
     <style>
@@ -9,7 +8,6 @@
     </style>
     <child>
       <object class="GtkRevealer" id="revealer">
-        <property name="visible">1</property>
         <property name="reveal-child">1</property>
         <signal name="notify::child-revealed" handler="on_child_revealed"/>
         <style>
         </style>
         <child>
           <object class="GtkEventBox" id="event_box">
-            <property name="visible">1</property>
             <child>
               <object class="GtkBox">
-                <property name="visible">1</property>
                 <child>
                   <object class="GtkImage" id="icon_widget">
-                    <property name="visible">1</property>
                     <style>
                       <class name="sidebar-icon"/>
                     </style>
@@ -31,7 +26,6 @@
                 </child>
                 <child>
                   <object class="GtkLabel" id="label_widget">
-                    <property name="visible">1</property>
                     <property name="hexpand">1</property>
                     <property name="xalign">0</property>
                     <style>
@@ -41,7 +35,6 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="eject_button">
-                    <property name="visible">1</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>
                     <property name="margin-start">4px</property>
index 299705648dcb3d8680edb3957d8902568af944bb..3d56215cf6396787d2b1fc08d57e5265844b5b72 100644 (file)
@@ -9,16 +9,13 @@
     <property name="margin-bottom">6</property>
     <child>
       <object class="GtkFrame" id="frame">
-        <property name="visible">1</property>
         <property name="shadow-type">none</property>
         <child>
           <object class="GtkBox" id="message_area">
-            <property name="visible">1</property>
             <property name="spacing">4</property>
             <property name="margin">4</property>
             <child>
               <object class="GtkLabel" id="label">
-                <property name="visible">1</property>
                 <property name="halign">start</property>
                 <property name="valign">center</property>
                 <property name="ellipsize">end</property>
index b2b99a1cc2b7ccfb34adf39c58a1eea374f70511..799769fe450410c33e0990c35d6b0078bde2cd80 100644 (file)
@@ -7,7 +7,6 @@
     <property name="page-increment">0.2</property>
   </object>
   <template class="GtkVolumeButton" parent="GtkScaleButton">
-    <property name="visible">1</property>
     <property name="can-focus">1</property>
     <property name="receives-default">1</property>
     <property name="has-tooltip">1</property>